<?php if (!defined('THINK_PATH')) exit();?><html>
<head>
    <meta charset="utf-8">
    <link href="/Public/css/Admin/Bootstrap/bootstrap.css" rel="stylesheet" />
    <link href="/Public/css/Admin/my.css" rel="stylesheet" />
    <link href="/Public/css/Admin/Validform/Validform.css" rel="stylesheet" />
    <link href="/Public/css/Home/your.css" rel="stylesheet" type="text/css">

    <script language="JavaScript" src="/Public/js/Admin/jquery.1.11.3.min.js"></script>
    <script language="JavaScript" src="/Public/js/Admin/my.js"></script>
    <script language="JavaScript" src="/Public/js/Admin/Bootstrap/bootstrap.min.js"></script>
    <script language="JavaScript" src="/Public/js/Admin/Bootstrap/bootstrap-treeview.js"></script>
    <script language="JavaScript" src="/Public/js/Admin/Validform/Validform_v5.3.2_min.js"></script>
    <script language="JavaScript" src="/Public/js/Home/your.js"></script>

    <script type="text/javascript">
        $(function(){
             $(".registerform").Validform();
        })
    </script>
</head>
<body>
<nav class="navbar navbar-inverse">
    <div class="container" style="width: 100%;padding:0;">
        <div class="navbar-collapse collapse" style="width: 100%;padding:0;">
            <ul class="nav navbar-nav" style="width: 100%">
                <li <?php if(session('column_select') == ''): ?>class="active "<?php endif; ?>><a  style="padding-left:30px;padding-right:30px" href="<?php echo U('modules/columnSelect');?>">首页</a></li>
                <?php if(session('admin_modules') != ''): $_result=session('admin_modules')['modules'];if(is_array($_result)): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><li
                            <?php if(session('column_select') != ''): if($val['id'] == session('column_select') ): ?>class="active"<?php endif; endif; ?>
                        >
                        <a style="padding-left:30px;padding-right:30px" href="<?php echo U('modules/columnSelect?id='.$val['id']);?>"  ><?php echo ($val["name"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; endif; ?>
                <li class="active" style="float:right"><a style="background-color:rgba(92, 173, 136, 0.92)" href="<?php echo U('index/quit');?>">退 出</a></li>
                <li class="active" style="float:right"><a style="background-color:rgba(92, 173, 136, 0.92)" href="<?php echo U('user/password');?>">修改密码</a></li>
            </ul>
        </div>
    </div>
</nav>

<div class="container-fluid">
    <div class="row">
    <div class="col-md-10" style="padding-left:0;width:60%;margin-left:20%">
        <div class="panel panel-primary margin10" style="float:left;width:100%;min-height:650px;border-color:#3C4049;">
            <div class="panel-heading" style="background-color: #3C4049;text-align:left;font-size:16px;padding-left:30px">修改密码</div>
            <div class="panel-body">
        <div style="float:left;width:100%">
            <form  action="<?php echo U('User/passwordEditor');?>" method="post" id="form1" class="registerform"  >
                <div class="form-group width50">
                    <label for="exampleInputEmail1">旧密码：<font  color="red">*</font></label>
                    <input type="password" class="form-control rows_display"  placeholder="请输入旧密码" name="password"   datatype="*"  nullmsg="请输入旧密码！" >
                </div>
                <div class="form-group width50">
                    <label for="exampleInputEmail1">新密码：<font  color="red">*</font></label>
                    <input type="password" class="form-control rows_display"  placeholder="请输入新密码" name="n_password"  datatype="*"  nullmsg="请输入新密码！"   >
                </div>
                <div class="form-group width50">
                    <label for="exampleInputEmail1">确认密码：<font  color="red">*</font></label>
                    <input type="password" class="form-control rows_display"  placeholder="请输入确认密码" name="n2_password"  datatype="*" recheck="n_password" nullmsg="请输入确认密码！" errormsg="您两次输入的密码不一致！" >
                </div>
                <br>
                <button type="submit" class="btn btn-primary">修改</button>
            </form>
        </div>
</div>
</div>
</div>
</body>
</html>